package com.houseService.serviceCategories.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.houseService.serviceCategories.domain.ServiceCategories;
import com.houseService.serviceCategories.vo.ServiceCategoriesVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 服务分类管理Mapper接口
 *
 * @author LiuChunlin
 * @date 2025-03-19
 */
public interface ServiceCategoriesMapper extends BaseMapper<ServiceCategories> {

    Page<ServiceCategoriesVo> queryList(Page<?> page, @Param("entity") ServiceCategoriesVo entity);

    List<ServiceCategoriesVo> queryList(@Param("entity") ServiceCategoriesVo entity);

    ServiceCategoriesVo queryById(@Param("id") Long id);

}
